package com.hxzy.shop.dto.member.resp;

import com.hxzy.shop.entity.IntegralLog;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.Date;
import java.util.List;

/**
 * @author admin
 * @Desc
 * @Date 2023/8/3
 */
@Getter
@Setter
@Accessors(chain = true)
public class MemberDetailResp {
    @ApiModelProperty(value = "会员id")
    private Long id;

    @ApiModelProperty(value = "头像")
    private String headUrl;

    @ApiModelProperty(value = "手机号码")
    private String phone;

    @ApiModelProperty(value = "会员卡号")
    private Long memberCarNumber;

    @ApiModelProperty(value = "微信昵称")
    private String wechatNickname;

    @ApiModelProperty(value = "常用收货人")
    private String receiverName;

    @ApiModelProperty(value = "详细地址")
    private String receiverAddress;

    @ApiModelProperty(value = "注册时间")
    private Date createTime;

    @ApiModelProperty(value = "最近登录时间")
    private Date latelyLoginTime;

    @ApiModelProperty(value = "标签名称")
    private List<MemberLabelResp> labelName;


    @ApiModelProperty(value = "成长值")
    private Integer growthValue;

    @ApiModelProperty(value = "会员等级")
    private String gradeName;

    @ApiModelProperty(value = "成长值记录")
    private List<IntegralLog> integralLogs;

    @ApiModelProperty(value = "累计积分")
    private Integer accumulatedPoints;
}
